package com.sxsihe.heartmate;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

public class AboutZHCActivity extends Activity {

    ImageView back_icon;
    public void onCreate(Bundle bundle){
        super.onCreate(bundle);
        setContentView(R.layout.about_zhc);
        back_icon = (ImageView)findViewById(R.id.back_icon);
        back_icon.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
                overridePendingTransition(R.anim.in_left, R.anim.out_right);
            }
        });
    }


    public void onBackPressed() {
        super.onBackPressed();
        overridePendingTransition(R.anim.in_left, R.anim.out_right);
    }
}
